<!DOCTYPE html>
<html>
    <head>
        <title>CCC</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<script type='text/javascript' src='jquery-1.9.1.min.js'></script>
		<script type='text/javascript' src='jquery-cookie.js'></script>
        <script type='text/javascript' src="http://www.java.com/js/deployJava.js"></script>
        <script type="text/javascript">

	function setCookieGeneral (cookie_name, cookie_value) {
		$.cookie(cookie_name, cookie_value);
		console.log("Set " + cookie_name + " to " + cookie_name);
	}
			
    function setAppletTitle(titleFromCode) {
        document.title =  titleFromCode;
	}
	$('document').ready(function() {
		var c = $.cookie('what');
		// console.log("Set  to " + $.cookie('what'));
		$.cookie('what', 'ww100', {expires:7, path:"/"});
		var d = $.cookie('what');
		//var b = $.cookie('runDelay');
		console.log("c to " + c);
		console.log("Set  to d " + d);
		
		var attributes = {
            code: 'pseudo_ASH.PseudoMain',
            width: window.screen.availWidth-10, height: window.screen.availHeight - 110
        };
		var parameters = {jnlp_href: "ccc_applet.jnlp"
			, runDelay:'20', newLineOutput:"true", fontSize: "18"};
        var version = "1.6";

        deployJava.runApplet(attributes, parameters, version);
		
           
	});
        </script>
    </head>
    <body>

        <script type="text/javascript">
		
        </script>
    </body>
</html>
